package com.gylang.print.pdf.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.apache.pdfbox.pdmodel.PDPageContentStream;

/**
 * @author gylang
 */

@AllArgsConstructor
@Getter
public enum ContentMode {
	/** 覆盖 */
	OVERWRITE(PDPageContentStream.AppendMode.OVERWRITE),
	/** 追加 */
	APPEND(PDPageContentStream.AppendMode.APPEND),
	/** 使用旧的 */
	PREPEND(PDPageContentStream.AppendMode.PREPEND);

	private final PDPageContentStream.AppendMode appendMode;


}
